﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddEdit.aspx.cs" Inherits="CardLogistics.Web.MainPage.PutOutCard.PutOutSendCard.AddEdit" %>

<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>半成品/成品卡发放-编辑</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/selPage.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/jquery.multiselect.css" rel="stylesheet" />
    <script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../../../js/valReq.js" type="text/javascript"></script>
    <script src="../../../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../../js/jquery.tipswindow.2.0.js" type="text/javascript"></script>
    <script src="../../../js/CheckBoxSelect/option_check.js" type="text/javascript"></script>
    <style type="text/css">
        .hover {
            background-color: Blue;
            color: White;
            cursor: hand;
        }
    </style>
    <script type="text/javascript">
        function valReq(issubmit) {
            var altStr = valid_isempty('SENDNO', '发放单号');
            //必须为字母或者数字
            altStr += valid_isnoCh('SENDNO', '发放单号');
            altStr += valid_isempty('PutOutCardNo', '出库单号');
            altStr += valid_isempty('LEADINGPERSON', '领用人');
            altStr += valid_isempty('LEADINGDATE', '领用日期');
            altStr += GetCardInfo();
            altStr += valid_isempty('hf_detailId', '明细信息');

            if (altStr != "") {
                alert(altStr);
                return false;
            }
            if (reqNum() == "err")
                return false;
            else {
                if (issubmit == 1) {
                    if (confirm("提交后该信息进入待审批状态不可编辑,确认提交吗?") == true) {
                        return true;
                    }
                    else
                        return false;
                }
                else
                    return true;
            }
        }


        //根据盒号获取半成品成品入库详情信息
        function selCardNoInfo(obj) {
            var stxt = obj.options[obj.options.selectedIndex].text; //格式：ID,盒号
            var txtTmp = "";
            var snum = 0;
            $("select[name=CardNo] option:selected").each(function (i, o) {//所有选中的盒号集合
                if (Trim($(o).text()) != "") {
                    txtTmp += (Trim($(o).text())) + "|";
                    if ((Trim($(o).text())) == stxt)
                        snum++;
                }
            });
            var temp = obj.options[obj.options.selectedIndex].value; //格式：是否启用|卡押金|预充值|开始卡号|结束卡号
            var tr = obj.parentNode.parentNode; //当前行
            if (snum > 1) {
                alert("盒号不可重复选择！");
                $(tr.cells[1]).find("select").val("");
            }
            if (temp.split('|').length == 7 && snum <= 1) {
                $(tr.cells[2]).find("input").val(temp.split('|')[0]);
                $(tr.cells[3]).find("input").val(temp.split('|')[1]);
                $(tr.cells[4]).find("input").val(temp.split('|')[2]);
//                $(tr.cells[5]).find("input").val(temp.split('|')[3]);
//                $(tr.cells[6]).find("input").val(temp.split('|')[4]);
                $(tr.cells[5]).find("input").val(Pad(temp.split('|')[3], 8));
                $(tr.cells[6]).find("input").val(Pad(temp.split('|')[4], 8));
                document.getElementById("rkId").value = temp.split('|')[5]; //入库Id
                document.getElementById("zkId").value = temp.split('|')[6]; //制卡入库Id
               // $(tr.cells[6]).find("input").keyup();
                $(tr.cells[6]).find("input").focus();

            }
            else {
                $(tr.cells[2]).find("input").val("");
                $(tr.cells[3]).find("input").val("");
                $(tr.cells[4]).find("input").val("");
                $(tr.cells[5]).find("input").val("");
                $(tr.cells[6]).find("input").val("");
                $(tr.cells[7]).find("input").val("0")
            }
            $(tr.cells[6]).find("input").keyup();
        }
    </script>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#PutOutCardNo").click(function () { //请选择出库单号
                $.tipsWindow({
                    ___title: "请选择出库单号",
                    ___content: "iframe:../../SelectPage/SelPutOutCard.aspx",
                    ___width: "1000",
                    ___height: "500",
                    ___drag: "___boxTitle",
                    ___showbg: true
                });
            });

            // 根据截止卡号获取信息
            $("input[name='EndCardNo']").keyup(function () {
                var endNO = this.value; //当前值-结束卡号
                var tr = this.parentNode.parentNode; //当前行
                if (Trim(endNO).length == 8) {
                    var startNO = $(tr.cells[5]).find("input").val(); //开始卡号
                    var maxEndNO = parseInt($(tr.cells[1]).find("select").val().split('|')[4]); //当前盒截止卡号
                    if (parseInt(endNO) > maxEndNO || parseInt(endNO) < parseInt(startNO)) {
                        alert("当前盒号的有效卡号" + startNO + "-" + maxEndNO + "，请重新输入！");
                    }
                    else {
                        var rkId = document.getElementById("rkId").value; //白卡入库Id
                        var zkId = document.getElementById("zkId").value; //制卡入库Id
                        var cInfo = GetInfoByDB(startNO, endNO, rkId,zkId);
                        if (cInfo.split('|').length == 3) {
                            $(tr.cells[7]).find("input").val(cInfo.split('|')[0]);
                            $(tr.cells[8]).find("input").val(cInfo.split('|')[1]);
                            $(tr.cells[9]).find("input").val(cInfo.split('|')[2]);
                            GetSumInfo();
                            return;
                        }
                    }
                }
                $(tr.cells[7]).find("input").val(0);
                $(tr.cells[8]).find("input").val(0);
                $(tr.cells[9]).find("input").val("");
                GetSumInfo();
            });
        })

        //求应有数量合计数量的和
        function GetSumInfo() {
            document.getElementById("td_DueSum").innerHTML = GetSumByName("DueNumber");
            document.getElementById("td_ActualSum").innerHTML = GetSumByName("ActualNumber");
        }

        function GetCardInfo() {
            var Data_value = [];
            var errInfo = ""; //返回错误消息
            var vIndex = 0;
            var CardNo = $("select[name=CardNo]");
            var IniFlag = $("input[name=IniFlag]");
            var Fgvamt = $("input[name=Fgvamt]");
            var PreCharge = $("input[name=PreCharge]");
            var StartCardNo = $("input[name=StartCardNo]");
            var EndCardNo = $("input[name=EndCardNo]");
            var DueNumber = $("input[name=DueNumber]");
            var ActualNumber = $("input[name=ActualNumber]");
            var MissingCardNo = $("input[name=MissingCardNo]");
            var imgID = $("img[name=img_delete]");
            $("select[name='CardNo'] option:selected").each(function (i, o) {
                if ($(CardNo[i]).val() != "0" && $(CardNo[i]).val() != "") {
                    Data_value[vIndex] = "'" + Trim($(o).text()) + "'|" + Trim($(IniFlag[i]).val()) + "|" + Trim($(Fgvamt[i]).val()) + "|" + Trim($(PreCharge[i]).val()) + "|"
                   + Trim($(StartCardNo[i]).val()) + "|" + Trim($(EndCardNo[i]).val()) + "|" + Trim($(DueNumber[i]).val()) + "|" + Trim($(ActualNumber[i]).val()) + "|" + "'" + Trim($(MissingCardNo[i]).val()) + "'"; //字段值   + "|" + "'" + Trim($(imgID[i]).attr("tmpid")) + "'"
                    vIndex++;
                    if (Trim($(ActualNumber[i]).val()) == "" || Trim($(ActualNumber[i]).val()) == "0")
                        errInfo += "第" + vIndex + "行明细输入有误\n";
                }
            });
            //alert(Data_value.join(";"));
            $("#hf_detailId").val(Data_value.join(";"));
            GetSumInfo();
            document.getElementById("hf_CurrTotal").value = GetSumByName("ActualNumber");
            return errInfo;
        }

        function reqNum() {
            var dnum = parseInt($("#hf_PutOutedTotal").val()); //出库总数
            var cnum = parseInt($("#hf_SendedTotal").val()); //已发放数量
            var ednum = parseInt($("#hf_EditSumCard").val()); //编辑时总数
            var bcnum = GetSumByName("hf_CurrTotal"); //本次发放数量
            var ynum = dnum - cnum + ednum; //本次可发放数量=出库总数-已发放+编辑的数量
            if (bcnum == 0) {
                alert("发放数量不可为0,请填写发放明细!");
                return "err";
            }
            if (bcnum <= ynum) {
                return "";
            }
            else {
                alert("当前发放数量" + bcnum + "不可大于" + ynum + ",请核对!");
                return "err";
            }
        }


        function BindDetailInfo() {
            var CardNo = $("select[name=CardNo]");
            var IniFlag = $("input[name=IniFlag]");
            var Fgvamt = $("input[name=Fgvamt]");
            var PreCharge = $("input[name=PreCharge]");
            var StartCardNo = $("input[name=StartCardNo]");
            var EndCardNo = $("input[name=EndCardNo]");
            var DueNumber = $("input[name=DueNumber]");
            var ActualNumber = $("input[name=ActualNumber]");
            var MissingCardNo = $("input[name=MissingCardNo]");
            var imgID = $("img[name=img_delete]");
            var ids = document.getElementById("hf_detailId").value;
            var str1 = ids.split(";");
            for (var i = 0; i < str1.length; i++) {
                if (str1[i] != "") {
                    $(CardNo[i]).val(str1[i].split("|")[0].replace("'", "").replace("'", ""));
                    $(IniFlag[i]).val(str1[i].split("|")[1]);
                    $(Fgvamt[i]).val(str1[i].split("|")[2]);
                    $(PreCharge[i]).val(str1[i].split("|")[3]);
                    $(StartCardNo[i]).val(str1[i].split("|")[4]);
                    $(EndCardNo[i]).val(str1[i].split("|")[5]);
                    $(DueNumber[i]).val(str1[i].split("|")[6]);
                    $(ActualNumber[i]).val(str1[i].split("|")[7]);
                    $(MissingCardNo[i]).val(str1[i].split("|")[8].replace("'", "").replace("'", ""));
                }
            }
            GetSumInfo();
            //编辑时获取入库Id
            var rkId = document.getElementById("rkId").value;//白卡入库Id
            var zkId = document.getElementById("zkId").value; //制卡入库Id
            document.getElementById("hf_CurrTotal").value = GetSumByName("ActualNumber");
        }
        window.onload = function () {
            BindDetailInfo();
            SetInputRedonley("IniFlag|text-align:center,Fgvamt,PreCharge,StartCardNo,DueNumber,ActualNumber,MissingCardNo");
        }

    </script>
    <script type="text/javascript">
        $(function () {
            Jselect($("#txt_wbk"), {
                bindid: 'txt_wbk', //可绑定到按钮上，此处为点击文本框显示下拉框
                hoverclass: 'hover',
                optionsbind: function () { return hqhtml(); }
            });
        })
        var boxStr=<%=BoxNOList %>;//箱号的下拉选项
        //var option = new Array('第一项', '第二项', '第三项', '第四项', '第五项', '第六项');
        var option=boxStr.split(',');
        Array.prototype.del = function (n) {  //n表示第几项，从0开始算起。
            //prototype为对象原型，注意这里为对象增加自定义方法的方法。
            if (n < 0)  //如果n<0，则不进行任何操作。
                return this;
            else
                return this.slice(0, n).concat(this.slice(n + 1, this.length));
        }
        //拼凑下拉checkbox的html
        function hqhtml() {//此处可在数据库中取值后拼接html，注意：预选项加上 lang='checked'属性
            var optionshtml = "<table style='width:100%;line-height:20px; background-color: #fff; border:0px solid #000;' cellpadding=\"0\" cellspacing=\"0\" >";
            for (var i = 0; i < option.length; i++) {
                optionshtml += "<tr><td style='width:20px;padding-left:3px; boder:0px;'><input type=\"checkbox\" value='" + i + "' /></td><td style=' boder:0px;'>" + option[i] + "</td></tr>"
            }
            optionshtml += "</table>";
            return optionshtml;
        }
        //点击选择箱号
        function wbkClk()
        {
            var wbkStr=$("#txt_wbk").val().split(','); //获取页面选择的箱号，并用“,”分隔
            var selKyes="";
            for (var i = 0; i < wbkStr.length; i++) {
            <%foreach (var box in CardNOList_D)//循环盒号箱号键值对集合
            {%>
                    if(wbkStr[i]==<%="'"+box.Value.ToString()+"'"%>)//如果当前选中的箱号与集合中的箱号一致，则获取集合中的key值（就是该箱号下所有的盒号）
                    {
                      selKyes+=<%="'"+box.Key.ToString()+"|'"%>;
                    }
            <%}%>
        }
       // alert(selKyes);
        var allBoxNO=selKyes.split('|');
        var CardNo = $("select[name=CardNo]");
        var m = 0;
        for (var i = 0; i < CardNo.length; i++) {
            m = i;
            for (m; m < allBoxNO.length; m++) {
                for (var n = 0; n < CardNo[i].options.length; n++) {
                    if (CardNo[i][n].text == allBoxNO[m]) {//根据选中的箱号，填充该箱号下所有的盒号详情
                        (CardNo[i]).options.selectedIndex = n;
                        selCardNoInfo(CardNo[i]);
                        break;
                    }
                }
                break;
            }
        }
        }
    </script>
</head>
<body>
    <form id="frmFather" runat="server">
    <uc1:WebUserControl_Nav ID="WebUserControl_Nav1" runat="server" />
    <%=TitleName %>
    <input type="hidden" id="hf_detailId" name="hf_detailId" runat="server" />
    <input type="hidden" id="hf_PutOutedTotal" runat="server" /><!--出库数量-->
    <input type="hidden" id="hf_SendedTotal" runat="server" /><!--已发放数量-->
    <input type="hidden" id="hf_CurrTotal" runat="server" /><!--当前实际数量合计-->
    <input type="hidden" id="hf_EditSumCard" runat="server" /><!--编辑是本单据数量-->
    <input type="hidden" id="hidDelId" runat="server" /><!--选中行Id-->
    <asp:HiddenField ID="rkId" runat="server" />  <!--入库Id-->
    <asp:HiddenField ID="zkId" runat="server" />  <!--制卡入库Id-->
    <table class="theForm" width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="titleTxt">
                发放单号：
            </td>
            <td class="contentTxt">
                <input id="SENDNO" runat="server" type="text" class="dfinputNoEmp" maxlength="15" />
            </td>
            <td class="titleTxt">
                出库单号：
            </td>
            <td class="contentTxt">
                <input id="PutOutCardNo" runat="server" type="text" readonly="readonly" class="dfinputImg"
                    maxlength="25" />
                <asp:HiddenField ID="hf_PutOutCardId" runat="server" />
                <asp:Button ID="BtnId" runat="server" OnClick="btn_PutOutId_ValueChanged" Width="0px" />
            </td>
        </tr>
        <tr>
            <td class="titleTxt">
                销售机构/网点：
            </td>
            <td>
                <asp:DropDownList ID="LEADINGUNIT" runat="server" CssClass="dfinput">
                </asp:DropDownList>
            </td>
            <td class="titleTxt">
                领用人：
            </td>
            <td class="contentTxt">
                <input id="LEADINGPERSON" runat="server" type="text" class="dfinputNoEmp" maxlength="25" />
            </td>
        </tr>
        <tr>
            <td class="titleTxt">
                领用日期：
            </td>
            <td class="contentTxt">
                <input id="LEADINGDATE" runat="server" type="text" class="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
            </td>
            <td class="titleTxt">
                备注：
            </td>
            <td class="contentTxt">
                <input id="REMARKS" runat="server" type="text" maxlength="200" class="dfinput" />
            </td>
        </tr>
        <tr>
        <td class="titleTxt">箱号：</td>
                <td class="contentTxtM">
                    <input id="txt_wbk" type="text" class="dfinput" readonly="readonly" onclick="wbkClk();" />
                    </td>
                     <td class="titleTxt"></td>
                     <td class="contentTxt"></td>
        </tr>
        <tr>
            <td colspan="4">
                <div class="ddetail" style="height: 270px;">
                    <table class="tabledetail" id="tb_Detail">
                        <thead>
                            <tr>
                                <th width="30px">
                                    序号
                                </th>
                                <th width="130px">
                                    盒号
                                </th>
                                <th width="110px">
                                    是否启用
                                </th>
                                <th width="110px">
                                    卡成本
                                </th>
                                <th width="110px">
                                    预充值金额
                                </th>
                                <th width="110px">
                                    开始卡号
                                </th>
                                <th width="110px">
                                    结束卡号
                                </th>
                                <th width="110px">
                                    应有数量
                                </th>
                                <th width="110px">
                                    实际数量
                                </th>
                                <th>
                                    缺卡卡号
                                </th>
                                <th>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td width="30px" align="center">
                                    1
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    2
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    3
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    4
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    5
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    6
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    7
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    8
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    9
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td width="30px" align="center">
                                    10
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" onkeydown="onlyNum();" maxlength="8" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" value="0" class="dfinput" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    11
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    12
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    13
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    14
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    15
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    16
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    17
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    18
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    19
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    20
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    21
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    22
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    23
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    24
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    25
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    26
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    27
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    28
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    29
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    30
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    31
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    32
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    33
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    34
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    35
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    36
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    37
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    38
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    39
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    40
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    41
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    42
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    43
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    44
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    45
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    46
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    47
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    48
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    49
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="center" width="30px">
                                    50
                                </td>
                                <td>
                                    <select name="CardNo" onchange="selCardNoInfo(this)">
                                        <option value="0"></option>
                                        <%foreach (var cardNo in CardNOList)
                                          {%>
                                        <option value="<%=cardNo.Key %>">
                                            <%=cardNo.Value%></option>
                                        <% }%>
                                    </select>
                                </td>
                                <td>
                                    <input name="IniFlag" type="text" class="dfinput" value="" />
                                </td>
                                <td>
                                    <input name="Fgvamt" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="PreCharge" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="StartCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    <input name="EndCardNo" type="text" class="dfinput" onkeydown="onlyNum();" maxlength="8" />
                                </td>
                                <td>
                                    <input name="DueNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="ActualNumber" type="text" class="dfinput" value="0" />
                                </td>
                                <td>
                                    <input name="MissingCardNo" type="text" class="dfinput" />
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <table class="tablesum">
                    <tr>
                        <td width="30px">
                        </td>
                        <td width="120px" style="text-align: center;">
                            合计
                        </td>
                        <td width="100px">
                        </td>
                        <td width="100px">
                        </td>
                        <td width="100px">
                        </td>
                        <td width="100px">
                        </td>
                        <td width="100px">
                        </td>
                        <td id="td_DueSum" width="100px" style="text-align: right">
                            0
                        </td>
                        <td id="td_ActualSum" width="100px" style="text-align: right">
                            0
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr class="btntr">
            <td colspan="4" align="center">
                <asp:Button ID="btn_Submit" CssClass="btn" runat="server" Text="保存并提交" OnClientClick="return valReq(1);"
                    OnClick="btn_Submit_Click" />
                <asp:Button ID="btn_Add" CssClass="btn" runat="server" Text="保存" OnClientClick="return valReq(0);"
                    OnClick="btn_Add_Click" />
                <input type="button" class="btn" value="返回" onclick="javascript:history.go(-1);" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
